package com.train.daily.resp.token;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * DailyTrainSkTokenPageResp
 * @author baitiaojun
 * @createDate 2025-03-20 00:19:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DailyTrainSkTokenPageResp {

    /**
     * id
     */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    /**
     * 日期
     */
    private LocalDate date;
    /**
     * 车次编号
     */
    private String trainCode;
    /**
     * 令牌余量
     */
    private Integer count;

    /**
     * 座位类型
     */
    private String seatType;
    /**
     * 新增时间
     */
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    private LocalDateTime updateTime;
}
